﻿using System;
using System.Collections.Generic;
using AutoplanetaTaskManager.Models;

namespace AutoplanetaTaskManager.Daos
{
    public interface ITaskDao
    {
        List<Task> Load();
        Task Get(int id);
        Task Get(int postId, DateTime dateTime);
        void Add(Task task);
        void Update(Task task);
        void Remove(int id);

        bool CheckAbilityAdding(Task task);
        bool CheckAbilityUpdating(Task task);
    }
}